<template>
  <div class="AlarmWindow">
    <aq-dialog v-model="isAqDialog" :title="aqDialogTitle" :before-close="closeEditDialog" @aqDialogSubmit="aqDialogSubmit" :width="620">
      <div class="public-dialog-box">测试告警弹窗</div>
    </aq-dialog>
  </div>
</template>

<script setup>
import { ref, reactive } from "vue";

let isAqDialog = ref(true);
let aqDialogTitle = ref("告警弹窗");

const aqDialogSubmit = async (type) => {
  if (type === "cancel") {
    closeEditDialog();
    return;
  }
};
const closeEditDialog = () => {
  isAqDialog.value = false;
};
</script>

<style lang="scss">
.AlarmWindow {
}
</style>
